﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.Mes.WinForms.Production.ProductionCommon
{
    /// <summary>
    /// 封装接口返回数据
    /// </summary>
    public class MainForm
    {
        public class ProduceApiResult<T>
        {
            public string Message { get; set;}

            public bool Success { get; set; }

            public T Data { get; set; }
        }

        public class ProduceApiPaging<T> : ProduceApiResult<T> where T :class
        {
            public int TotalCount { get; set; }

            public List<T> PageDate { get; set;}
        }
    }
}
